package com.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户通知状态表
 *
 * @TableName user_notification
 */
@TableName(value = "user_notification")
@Data
public class UserNotification implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
    /**
     * 用户通知状态ID
     */
    @TableId(value = "user_notification_id")
    private String userNotificationId;
    /**
     * 用户ID
     */
    @TableField(value = "user_id")
    private Long userId;
    /**
     * 通知ID
     */
    @TableField(value = "notification_id")
    private String notificationId;
    /**
     * 阅读状态（0:未读 1:已读）
     */
    @TableField(value = "is_read")
    private Integer isRead;
    /**
     * 阅读时间
     */
    @TableField(value = "read_time")
    private Date readTime;
    /**
     * 删除标记（0:正常 1:删除）
     */
    @TableField(value = "del_flag")
    private Integer delFlag;
    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;
    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(value = "notification_type")
    private String notificationType;
}